package com.frxuexi.shop.intent

import com.frxuexi.lib_base.entity.CommentReqBean
import com.frxuexi.lib_base.entity.PayOrderReqBean
import com.frxuexi.lib_base.entity.RefundOrderBean
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class OrderIntent:IUiIntent {
    data class getOrders(val type:Int):OrderIntent()

    data class cancelOrder(val id:Int):OrderIntent()

    data class payOrder(val item:PayOrderReqBean):OrderIntent()

    data class addComment(val item:CommentReqBean):OrderIntent()

    data class upload(val name:String,val path:String):OrderIntent()
    data class refundOrder(val item:RefundOrderBean):OrderIntent()


}